import styled from "styled-components";

export const HeaderCenterStyle = styled.div`
    .search-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 300px;
        height: 48px;
        box-sizing: border-box;
        padding: 0 8px;
        border: 1px solid #ddd;
        border-radius: 24px;
        ${props => props.theme.mixin.boxShadow}
    }
    .text {
        padding: 0 16px;
        color: #222;

        textarea {
            border: none;
            display: block;
            resize: none;
            outline: none;
            margin-left: -8px;
            width: 222px;
        }
    }
    .icon {
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        color: #fff;
        background-color: ${props => props.theme.color.primary};
    }
`